<form class="layui-form">
  <input type="hidden" name="id" value="<{$info['id']}>" />
  <div class="layui-form-item">
    <label class="layui-form-label">编号</label>
    <div class="layui-input-block">
      <input type="text" name="user_no" value="<{$info['user_no']}>" style="background:#f2f2f2;" readonly="readonly" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">姓名</label>
    <div class="layui-input-block">
      <input type="text" name="name" lay-verify="required" value="<{$info['name']}>" placeholder="请输入姓名" autocomplete="off" class="layui-input">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">级别</label>
    <div class="layui-input-block">
        <select name="level">
            <{volist name="level" id="v"}>
          <option value="<{$key}>" <{if $key==$info['level']}>selected<{/if}>><{$v}></option>
            <{/volist}>
        </select>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-block">
        <select name="status">
            <{volist name="status" id="v"}>
          <option value="<{$key}>" <{if $key==$info['status']}>selected<{/if}>><{$v}></option>
            <{/volist}>
        </select>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">是否激活</label>
    <div class="layui-input-block">
        <select name="is_activate">
            <{volist name="is_activate" id="v"}>
          <option value="<{$key}>" <{if $key==$info['is_activate']}>selected<{/if}>><{$v}></option>
            <{/volist}>
        </select>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">是否居间商</label>
    <div class="layui-input-block">
        <select name="is_businessman">
            <{volist name="is_businessman" id="v"}>
          <option value="<{$key}>" <{if $key==$info['is_businessman']}>selected<{/if}>><{$v}></option>
            <{/volist}>
        </select>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">是否发奖</label>
    <div class="layui-input-block">
        <select name="is_send_award">
            <{volist name="is_send_award" id="v"}>
          <option value="<{$key}>" <{if $key==$info['is_send_award']}>selected<{/if}>><{$v}></option>
            <{/volist}>
        </select>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">转账权限</label>
    <div class="layui-input-block">
        <select name="is_mtom">
            <{volist name="is_mtom" id="v"}>
          <option value="<{$key}>" <{if $key==$info['is_mtom']}>selected<{/if}>><{$v}></option>
            <{/volist}>
        </select>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">手机号</label>
    <div class="layui-input-block">
      <input type="text" name="phone" lay-verify="required" value="<{$info['phone']}>" placeholder="请输入手机号" autocomplete="off" class="layui-input">
    </div>
  </div>
  <!-- <div class="layui-form-item">
    <label class="layui-form-label">身份证</label>
    <div class="layui-input-block">
      <input type="text" name="idcard" lay-verify="required" value="<{$info['idcard']}>" placeholder="请输入身份证" autocomplete="off" class="layui-input">
    </div>
  </div> -->
  <div class="layui-form-item">
    <label class="layui-form-label">居间商最大库存注册积分</label>
    <div class="layui-input-block">
      <input type="text" name="max_money" lay-verify="required" value="<{$info['max_money']}>" placeholder="请输入居间商最大库存注册积分" autocomplete="off" class="layui-input">
    </div>
  </div>
  <!-- <div class="layui-form-item">
    <label class="layui-form-label">返利配置</label>
    <div class="layui-input-block">
      <input type="text" name="fl_config" lay-verify="required" value="<{$info['fl_config']}>" placeholder="请输入返利配置" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">分享配置</label>
    <div class="layui-input-block">
      <input type="text" name="fx_config" lay-verify="required" value="<{$info['fx_config']}>" placeholder="请输入分享配置" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">服务配置</label>
    <div class="layui-input-block">
      <input type="text" name="fw_config" lay-verify="required" value="<{$info['fw_config']}>" placeholder="请输入服务配置" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">管理配置</label>
    <div class="layui-input-block">
      <input type="text" name="gl_config" lay-verify="required" value="<{$info['gl_config']}>" placeholder="请输入管理配置" autocomplete="off" class="layui-input">
    </div>
  </div> -->
  <div class="layui-form-item">
    <label class="layui-form-label">登陆密码</label>
    <div class="layui-input-block">
      <input type="text" name="pwd" value="" placeholder="登陆密码 不填则不改" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">操作密码</label>
    <div class="layui-input-block">
      <input type="text" name="s_pwd" value="" placeholder="操作密码 不填则不改" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="form">立即提交</button>
    </div>
  </div>
</form>
<script>
$().ready(function(){
  layui.form.render('select');
});
</script>
